The Chameleon Type Debugger (Tool Demonstration)
نویسندگان
چکیده
In this tool demonstration, we give an overview of the Chameleon type debugger. The type debugger’s primary use is to identify locations within a source program which are involved in a type error. By further examining these (potentially) problematic program locations, users gain a better understanding of their program and are able to work towards the actual mistake which was the cause of the type error. The debugger is interactive, allowing the user to provide additional information to narrow down the search space. One of the novel aspects of the debugger is the ability to explain erroneous-looking types. In the event that an unexpected type is inferred, the debugger can highlight program locations which contributed to that result. Furthermore, due to the flexible constraint-based foundation that the debugger is built upon, it can naturally handle advanced type system features such as Haskell’s type classes and functional dependencies.
منابع مشابه
Tool Demonstration Abstract: OpenModelica Graphical Editor and Debugger
This paper demonstrates the OpenModelica graphic editor for easy-to-use graphic modeling of Modelica models and the Modelica debugger. The graphic editor aims at providing a user friendly open source Modelica modeling graphical user interface since most of the already existing open source tools were either textual or not so user friendly. The target audiences for the tool are the Modelica users...
متن کاملImplementing a type debugger for Scala
Statically-typed languages offer type systems that are less and less comprehensible for programmers as the language grows in complexity. In this paper, we present a type debugger, a tool that enables analysis of type-related problems as well as exploration of the typechecking process in general. We explain our findings on implementing a lightweight instrumentation mechanism for SCALA, as well a...
متن کاملDemonstration of a Domain-Specific Language Debugging Framework
This demonstration presents a debugging framework that targets domain-specific languages (DSLs). The DSL Debugging Framework (DDF) generates debuggers automatically from DSL grammar specifications. The debugging concern is weaved into a base grammar in an aspect-oriented style. DDF was used to generate debuggers for three different types of DSLs (imperative, declarative, and hybrid) that are tr...
متن کاملProceedings of MASPLAS'04 Mid-Atlantic Student Workshop on Programming Languages and Systems
We present an analyzer tool that accepts as input a string of programming language statements and outputs possible meanings for those program statements. The Graphical User Interface allows us to see which meanings were proposed for different program statements. The analyzer is packaged as a software tool, which we refer to as the Semantic Extraction tool (SET). SET, through a GUI utilizes a mu...
متن کاملDomain-level Debugging for Compiled DSLs with the GEMOC Studio
Executable Domain-Specific Languages (DSLs) are commonly defined with either operational semantics (i.e., interpretation) or translational semantics (i.e., compilation). An interpreted DSL relies on domain concepts to specify the possible execution states and steps, which facilitates the observation and control of the execution using the very same domain concepts. In contrast, a compiled DSL re...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره cs.PL/0311023 شماره
صفحات -
تاریخ انتشار 2003